package cz.proks.easyhelpdesk.gae.api.impl.ws;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cz.proks.easyhelpdesk.api.EmailApi;
import cz.proks.easyhelpdesk.api.config.Configuration;
import cz.proks.easyhelpdesk.api.model.Email;

@Controller(Configuration.WS.EMAIL_API)
@RequestMapping(Configuration.WS.EMAIL_BASE_URL)
public class EmailApiImpl extends BaseHelpdeskApiImpl<Email> implements EmailApi {	
	
	@Autowired
	@Qualifier(Configuration.Core.WS.EMAIL_API)
	private EmailApi coreApi;

	@Override
	protected EmailApi getCoreApi() {
		return coreApi;
	}
}
